@import '../../../index.scss';

.container {
  .wallet {
    margin: 20rpx;
    background-color: $primary-color;
    display: flex;
    flex-direction: column;
    box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(0, 0, 0, 0.04);
    border-radius: 20rpx 20rpx 20rpx 20rpx;
    padding: 40rpx;
    box-sizing: border-box;

    .top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px dashed #fff;
      padding-bottom: 30rpx;

      .tip {
        font-size: 42rpx;
        color: #fff;
      }

      .price {
        font-size: 38rpx;
        color: #fff;
      }
    }

    .boot {
      display: flex;
      margin-top: 30rpx;
      align-items: center;

      .left {
        flex: 1;

        .title {
          font-size: 28rpx;
          color: #fff;
        }

        .desc {
          font-size: 24rpx;
          color: #fff;
          margin-top: 10rpx;
        }
      }

      .btn {
        color: $primary-color;
        font-weight: bold;
        padding: 12rpx 30rpx;
        background-color: #fff;
        font-size: 26rpx;
        border-radius: 10rpx;
      }
    }
  }

  .log {
    padding: 20rpx 30rpx;
    box-sizing: border-box;

    .title {
      display: flex;
      align-items: center;
      align-items: center;
      font-size: 28rpx;

      &::before {
        content: "";
        width: 10rpx;
        height: 28rpx;
        background-color: $primary-color;
        display: block;
        margin-right: 20rpx;
        border-radius: 100rpx;
      }
    }

    .box {

      .item {

        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #efefef;
        padding-bottom: 20rpx;
        margin-top: 20rpx;

        .left {
          .tip {
            font-size: 28rpx;
            color: #555;
          }

          .time {
            font-size: 24rpx;
            color: #676767;
            margin-top: 10rpx;
          }
        }

        .right {
          font-size: 28rpx;
        }
      }

    }

    .noData {
      text-align: center;
      // position: fixed;
      top: 35%;
      margin-top: 250rpx;
      width: 100%;

      image {
        width: 20%;
      }

      .tip {

        color: #888;
        font-size: 26rpx;
        margin-top: 20rpx;
      }
    }
  }
}

.recharge-popup {
  // height: 300rpx;
  // background-color: red;
  padding: 30rpx;
  box-sizing: border-box;
  border-radius: 20rpx;
  overflow: hidden;
  background-color: #f8f8f8;

  .title {
    font-size: 28rpx;
    text-align: center;
    padding: 10rpx 0 40rpx;
  }

  .boxs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    .item {
      flex-basis: 31%;
      background-color: #fff;
      box-sizing: border-box;
      border-radius: 10rpx;
      margin-bottom: 20rpx;
      box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(0, 0, 0, 0.04);
      padding: 30rpx 20rpx;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      &.active {
        background-color: $primary-color;

        .top {
          color: #fff;

        }

        .desc {
          color: #fff;
        }


      }

      .top {
        display: flex;
        align-items: flex-end;
        color: $primary-color;

        .symbol {
          font-size: 28rpx;
          line-height: 30rpx;
          margin-right: 6rpx;
        }

        .price {
          font-size: 40rpx;
          line-height: 40rpx;
          font-weight: bold;

        }
      }

      .desc {
        font-size: 22rpx;
        margin-top: 10rpx;
        color: #999;
      }
    }
  }

  .btn {
    margin: 30rpx 0;
    background-color: $primary-color;
    padding: 30rpx 0;
    border-radius: 10rpx;
    color: #fff;
    text-align: center;
    font-size: 32rpx;

  }
}

.affirm-popup {
  padding: 30rpx;
  box-sizing: border-box;
  border-radius: 20rpx;
  overflow: hidden;
  background-color: #f8f8f8;

  .title {
    font-size: 28rpx;
    text-align: center;
    padding: 10rpx 0 40rpx;
  }

  .input {
    background-color: #fff;
    padding: 20rpx 30rpx;
    box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(0, 0, 0, 0.04);
    border-radius: 4rpx;
    font-size: 28rpx;
    color: #888;
  }

  .btn {
    margin: 30rpx 0;
    margin-top: 60rpx;
    background-color: $primary-color;
    padding: 30rpx 0;
    border-radius: 10rpx;
    color: #fff;
    text-align: center;
    font-size: 32rpx;

  }
}